package com.hbnu;

public class Teacher {
    private String tname;
    private int tid;
    private Class Classes;

    public String getname() {
        return tname;
    }

    @Override
    public String toString() {
        return "Teacher{" +
                "tname='" + tname + '\'' +
                ", tid=" + tid +
                ", Classes=" + Classes +
                '}';
    }

    public void settname(String tname) {
        this.tname = tname;
    }

    public int getTid() {
        return tid;
    }

    public void setTid(int tid) {
        this.tid = tid;
    }

    public Class getClasses() {
        return Classes;
    }

    public void setClasses(Class classes) {
        Classes = classes;
    }


}
